package views.windows;

import java.awt.BorderLayout;

import javax.swing.JScrollPane;
import javax.swing.JTable;

public class CalendarPanel extends javax.swing.JPanel
{
	private static final long serialVersionUID = 1L;
	private JTable CalendarTable;
	
	{
		try
		{
			javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager
					.getSystemLookAndFeelClassName());
		} catch (Exception e)
		{
			e.printStackTrace();
		}
	}

	public CalendarPanel()
	{
		super();
		initGUI();
	}

	private void initGUI()
	{
		try
		{
			BorderLayout thisLayout = new BorderLayout();
			this.setLayout(thisLayout);

			this.setPreferredSize(new java.awt.Dimension(517, 323));
			{
				{
					CalendarTable = new JTable();
					CalendarTable.setFillsViewportHeight(false);

					JScrollPane scrollPane = new JScrollPane(CalendarTable);

					this.add(CalendarTable.getTableHeader(),
							BorderLayout.PAGE_START);
					this.add(scrollPane, BorderLayout.CENTER);
					scrollPane
							.setPreferredSize(new java.awt.Dimension(510, 319));

				}
			}
		} 
		catch (Exception e)
		{
			e.printStackTrace();
		}
	}

	public JTable getCalendarTable()
	{
		return CalendarTable;
	}
}
